package com.htj.powerbank.service;

import com.htj.powerbank.entity.User;
import com.htj.powerbank.vo.PageRequest;
import com.htj.powerbank.vo.PageResult;

import java.util.List;


public interface UserService {

    User getUserByName(String name);

    int addUser(User user);

    User getUserById(Integer id);

    PageResult selectUserInfoListBy(PageRequest pageRequest, User user);

    int updateUser(User user);

    int updateUserStatus(Integer id, String status);
}
